package com.chen.authority.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.hutool.core.date.DatePattern;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 字典类型 视图对象
 *
 * @author chengy
 * @date 2023-09-04
 */
@Data
public class DictTypeVo {

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("名称")
    @Excel(name = "名称", width = 20)
    private String name;

    @ApiModelProperty("类型")
    @Excel(name = "类型", width = 20)
    private String type;

    @ApiModelProperty("备注")
    @Excel(name = "备注", width = 20)
    private String remark;

    @ApiModelProperty("创建时间")
    @Excel(name = "创建时间", width = 20, format = DatePattern.NORM_DATETIME_PATTERN)
    private Date createTime;

}